package com.issc.framework.util;

public class CastUtil {
    public static long castLong(Object name){
        return  Long.getLong((String)name);
    }

    public static int castInt(Object name) {
        return Integer.getInteger((String) name);
    }

    public static double castDouble(Object name) {
        return Double.valueOf((String) name);
    }

    public static String castString(Object name) {
        return (String)name;
    }

    public static boolean castBoolean(Object name) {
        return Boolean.getBoolean((String) name);
    }
}
